// 封装用户登录相关的接口
import request from '@/utils/http.js'

// 登录-用户名密码
export const loginAPI = async ({account, password}) => {
	return await request({
		url: '/login',
		method: 'POST',
		data: {
			account,
			password
		}
	})
}
